package com.design.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class ShippingRecord {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer batchId;

    private Long userInfoId;

    private Long templateId;

    private Long containerId;

    private BigDecimal totalWeight;

    private BigDecimal frontRear;

    private BigDecimal leftRight;

    private Byte state;

    private String deviceNo;

    private String history;

    private Byte isDelete;

    private Date updateTime;

    private Date createTime;


    @ApiModelProperty(value = "传感器1重量")
    private BigDecimal weight1;

    @ApiModelProperty(value = "传感器2重量")
    private BigDecimal weight2;

    @ApiModelProperty(value = "传感器3重量")
    private BigDecimal weight3;

    @ApiModelProperty(value = "传感器4重量")
    private BigDecimal weight4;

    @ApiModelProperty(value = "传感器1连接情况")
    private BigDecimal link1;

    @ApiModelProperty(value = "传感器2连接情况")
    private BigDecimal link2;

    @ApiModelProperty(value = "传感器3连接情况")
    private BigDecimal link3;

    @ApiModelProperty(value = "传感器4连接情况")
    private BigDecimal link4;
}